package com.yunxi.dao.sat;

import com.yunxi.core.dao.BaseMapperPlus;
import com.yunxi.hubToBiz.pojo.CustomerTestDriveVO;
import com.yunxi.model.sat.SatCustomerClue;
import com.yunxi.model.sat.SatTestDrive;
import com.yunxi.sat.pojo.SatTestDriveCompletelVO;
import com.yunxi.sat.pojo.SatTestDriveDetailVO;
import com.yunxi.sat.pojo.SatTestDriveVO;
import java.util.List;

/**
 * <p>
 * 试乘试驾表 Mapper 接口
 * </p>
 *
 * @author caoYong
 * @since 2019-07-31
 */
public interface SatTestDriveMapper extends BaseMapperPlus<SatTestDrive> {

    Integer checkPlanTestDriveTime(SatTestDriveVO satTestDriveVO);

    SatTestDriveDetailVO getInfoById(String driveId);

    SatTestDriveDetailVO testDriveInfo(String customerNo);

    List<SatTestDriveVO> getLateTestDrive();

    List<SatTestDriveDetailVO> allList(SatTestDriveCompletelVO satTestDriveCompletelVO);

    List<String> getCustomerSales(CustomerTestDriveVO customerTestDriveVO);

    SatTestDriveVO getSalesInfo(String userCode);

    List<SatTestDrive> queryEmptyTestDrive(SatCustomerClue satCustomerClue);
}
